package com.rpc.common.entity.request;

import java.io.Serializable;

public enum  PackageType implements Serializable {
    HEARTBEAT_PACKAGE(0,"心跳报文"),
    PUBLISH_PACKAGE(1,"服务发布报文"),
    DISCOVER_PACKAGE(2,"服务发现报文");

    private int code;
    private String desc;

    private PackageType(int code ,String desc){
        this.code=code;
        this.desc=desc;
    }
}
